package com.panshi.servers;

import com.panshi.api.bean.AnswerHDBean;
import com.panshi.api.util.PageSizeVO;
import com.panshi.pojo.AnswerHDVO;

import java.util.List;

/**
 * @author XiaoWangYa
 * @version 1.0
 * @date 2020/8/9 0009 下午 10:09
 */
public interface AnswerHDServers {
    // 新增回答数据
    void addAnswerHDInfo (AnswerHDBean answerHDBean);

    // 删除回答数据
    void deleteAnswerHDInfo (int id);

    // 查询指定问答下回答 and 指定用户回答数据
    List<AnswerHDVO> queryAssignHDQuestionAnswerInfo (PageSizeVO pageSizeHDBean);

    // 修改回答
    void updateAnswerHDInfo (AnswerHDBean answerHDBean);
}
